package com.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 存储批次信息查询vo
 */
public class ProductLotVo implements Serializable {

    /** 编号 */
    private Long id;
    /** 订单编号 */
    private String orderId;
    /** 产品编号 */
    private String goodsId;
    /** 批次编号 */
    private String lotId;
    /** 批次数量 */
    private Integer quantity;
    /** 出产时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date produceTime;
    /** 保留字段1 */
    private String standbyOne;
    /** 保留字段2 */
    private String standbyTwo;
    /** 保留字段3 */
    private String standbyTre;


    @Override
    public String toString() {
        return "ProductLotVo{" +
                "id=" + id +
                ", orderId='" + orderId + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", lotId='" + lotId + '\'' +
                ", quantity='" + quantity + '\'' +
                ", produceTime='" + produceTime + '\'' +
                ", standbyOne='" + standbyOne + '\'' +
                ", standbyTwo='" + standbyTwo + '\'' +
                ", standbyTre='" + standbyTre + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getLotId() {
        return lotId;
    }

    public void setLotId(String lotId) {
        this.lotId = lotId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getProduceTime() {
        return produceTime;
    }

    public void setProduceTime(Date produceTime) {
        this.produceTime = produceTime;
    }

    public String getStandbyOne() {
        return standbyOne;
    }

    public void setStandbyOne(String standbyOne) {
        this.standbyOne = standbyOne;
    }

    public String getStandbyTwo() {
        return standbyTwo;
    }

    public void setStandbyTwo(String standbyTwo) {
        this.standbyTwo = standbyTwo;
    }

    public String getStandbyTre() {
        return standbyTre;
    }

    public void setStandbyTre(String standbyTre) {
        this.standbyTre = standbyTre;
    }

}
